package com.yayo.mangement.info;

import com.yayo.mangement.model.TableField;
import lombok.Builder;
import lombok.Getter;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

/**
 * 自动生成文件动态参数类
 */
@Getter
@Builder
public class GeneraterInfo {

    private static final SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:ss:mm");

    public static final String DATE_TIME = simpleDateFormat.format(new Date());

    private String createdBy;
    private String comment;
    private String className;
    private String classVariable;
    private String primaryKey;
    private String tableName;
    private List<TableField> columns;

}
